package win.devhu.onestation.model;


import lombok.Data;

/**
 * 统一返回body 
 */
@Data
public class RestfulResponse {
	
	private  int code;
	private String msg;
	private Object data;
	
	public RestfulResponse(int code) {
		this.code = code;
	}
	public RestfulResponse(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	public RestfulResponse(int code, String msg, Object data) {
		this.code = code;
		this.msg = msg;
		this.data = data;
	}
}
